#ifndef CUBE_H  
#define CUBE_H

#include "Mesh.h"

class ENGINE_API Cube : public Entity
{
public:
   Cube(std::string name, DWORD color = 0xff00ff00);
   virtual void draw(Renderer* renderer);
   virtual void update(float deltaTime){}
   virtual void onCollision(Entity* collider){}

   virtual void setMaterial();

private:
   NormalVertex* m_pVertices;
   unsigned int* m_pIndices;

   D3DMATERIAL9 m_pMaterial;
   DWORD m_color;

};

#endif//CUBE_H